package com.xiaoluo.deploy;

/**
 * Project : DeployTest
 * Package : com.xiaoluo.deploy
 * Created by Willian.
 * Date  : 2016/3/7 19:53.
 */
public class ConfigureForm {
    /**
     * .addFormDataPart("file", file.getName(), fileBody)
     .addFormDataPart("serverIp",ip)
     .addFormDataPart("port", portName.getText())
     .addFormDataPart("user", userField.getText())
     .addFormDataPart("password", pwdField.getText())
     .addFormDataPart("serverDir", serverField.getText())
     .addFormDataPart("cmd", parameterField.getText())
     */

    private String fileName;
    private String serverIp;
    private String port;
    private String user;
    private String password;
    private String serverDir;
    private String cmd;
    private Integer index;

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getServerIp() {
        return serverIp;
    }

    public void setServerIp(String serverIp) {
        this.serverIp = serverIp;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getServerDir() {
        return serverDir;
    }

    public void setServerDir(String serverDir) {
        this.serverDir = serverDir;
    }

    public String getCmd() {
        return cmd;
    }

    public void setCmd(String cmd) {
        this.cmd = cmd;
    }
}
